<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      lang="zh-CN">
<head>
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <title>登陆</title>
    <link th:href="@{/static/bootstrap/css/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/static/font-awesome/css/font-awesome.css}" rel="stylesheet"/>
    <link th:href="@{/static/util/css/login.css}" rel="stylesheet"/>
    <link th:href="@{/static/util/css/login2.css}" rel="stylesheet"/>
    <script th:src="@{/static/util/js/jquery-2.1.0.js}"></script>
    <script th:src="@{/static/layer/layer.js}"></script>
</head>

<body>

<!-- Top content -->
<div class="top-content">

    <div class="inner-bg">
        <div class="container">
            <div class="row">
                <div class="col-sm-8 col-sm-offset-2 text">
                    <h1>欢迎使用OAEC学习平台</h1>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-4 col-sm-offset-4 form-box">
                    <div class="form-top">
                        <div class="form-top-left">
                            <h3>输入凭证</h3>
                            <p th:text="${message}"></p>
                        </div>
                        <div class="form-top-right">
                            <i class="fa fa-key "></i>
                        </div>
                    </div>
                    <div class="form-bottom">
                        <form th:action="@{/login}" method="post" class="login-form">
                            <div class="form-group">
                                <input type="text" name="name" placeholder="用户名" class="form-username form-control" />
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" placeholder="密码"
                                       class="form-password form-control" />
                            </div>

                            <input type="text" name="nickname" value="1" hidden="hidden"/>
                            <button type="submit" class="btn btn-primary">登陆</button>
                            <br/>
                            <a th:href="@{/register}"  class=" btn-link">注册</a>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>

</div>


</body>
</html>